package com.powersystem.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.powersystem.demo.entity.PsRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linrongji
 * @since 2019-11-14
 */
public interface IPsRoleService extends IService<PsRole> {
    public PsRole fetchByRoleNameAndIsstart(String roleName, int isstart);
    public PsRole fetchByRoleIdAndRoelName(String roleId,String roleName);

    IPage<PsRole> selectPageVo(String lineCode, int isStart, int page);

}
